package com.atguigu.srb.sms.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "service-core",fallback = CoreUserInfoClientFallback.class)//ip:192.168.222.1 端口:8110
public interface CoreUserInfoClient {
    @GetMapping("/api/core/userInfo/checkMobile/{mobile}")
    public boolean checkMobile(@PathVariable("mobile") String mobile);
    @GetMapping("/api/core/userInfo/test")
    String test();
}

